package com.example.demo.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.dto.UserDto;
import com.example.demo.pojo.Users;

import java.util.List;

public interface UserService extends IService<Users> {
    Double queryBalance(Integer id);

    boolean consume(Integer id, Double money);

    boolean refund(Integer id, Double money);

    List<UserDto> queryAllMinute(Integer id);
}
